Allows to declarative express a object-relational bilateral mapping.

Namespace: Keystone.Carbonite.Diamant
Assembly: Keystone.Carbonite.Diamant (in Keystone.Carbonite.Diamant.dll)

protected TableColumnMapping Column( 
string Name
Expression<Func<TEntityGroup, object>> With
bool IsPrimaryKey = false 
)
This language is not supported or no code example is available.

Parameters

Name

Type: string

The name of the relational data column.

With

Type: Expression<Func<TEntityGroup, object>>

The entity object property expressed in configuration first style.

IsPrimaryKey

Type: bool

Optional parameter that defines if this mapping involves a primary key.

Return Value

A TableColumnMapping.
Exception type Condition

ArgumentException

If the given entity property is not found.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono